package com.whnk.pm.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.whnk.common.base.BaseEntity;

/**
 * EventData
 * 
 * @author whwhnk
 * @date 2019-09-29
 */
public class EventData extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** groupId */
	private Integer groupId;
	/** title */
	private String title;
	/** start */
	private String start;
	/** end */
	private String end;
	/** url */
	private String url;
	/** color */
	private String color;
	/** textColor */
	private String textColor;
	/** borderColor */
	private String borderColor;
	/** backgroundColor */
	private String backgroundColor;
	/** editable */
	private Boolean editable;
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getGroupId() {
		return groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getStart() {
		return start;
	}

	public void setStart(String start) {
		this.start = start;
	}

	public String getEnd() {
		return end;
	}

	public void setEnd(String end) {
		this.end = end;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getTextColor() {
		return textColor;
	}

	public void setTextColor(String textColor) {
		this.textColor = textColor;
	}

	public String getBorderColor() {
		return borderColor;
	}

	public void setBorderColor(String borderColor) {
		this.borderColor = borderColor;
	}

	public String getBackgroundColor() {
		return backgroundColor;
	}

	public void setBackgroundColor(String backgroundColor) {
		this.backgroundColor = backgroundColor;
	}

	public Boolean getEditable() {
		return editable;
	}

	public void setEditable(Boolean editable) {
		this.editable = editable;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("groupId", getGroupId())
            .append("title", getTitle())
            .append("start", getStart())
            .append("end", getEnd())
            .append("url", getUrl())
            .append("color", getColor())
            .append("textColor", getTextColor())
            .append("borderColor", getBorderColor())
            .append("backgroundColor", getBackgroundColor())
            .append("editable", getEditable())
            .toString();
    }
}
